Enriched Digital Photographs

ABSTRACT

A method for enriching digital photographs, the method comprising: receiving a digital photograph and video data captured before a time at which the digital photograph is captured until after said time, wherein the video data comprises a sequence of video frames; processing the digital photograph and the video frames to layer the digital photograph and the video frames into a plurality of layers thereby creating a plurality of video layer sequences; defining an order of the plurality of layers; generating playback guidance, the playback guidance defining how to combine the video layer sequences during playback; and transmitting the order, the video layer sequences and the playback guidance to a display device for playback.

FIELD OF THE INVENTION

The present invention relates to methods and apparatus for enrichingdigital photographs.

BACKGROUND OF THE INVENTION

The meanings of certain acronyms and abbreviations used herein are givenin Table 1.

TABLE 1 Acronyms and Abbreviations 0D Zero Dimension 1D One Dimension 2DTwo Dimension 3D Three Dimension AV Audio Video EXIF Exchangeable ImageFile Format HD High Definition JPEG Joint Photographic Experts Group RAWRAW image file TIFF Tagged Image File Format TV Television XMLeXtensible Markup Language

The emergence of digital photography has developed new ways of consumingphotographic media. Photographic paper is no longer the preferred way toconsume photos. More and more people are now viewing their photos onelectronic devices such as computers, netbooks, electronic tablets,electronic picture frames or even smartphones. However, the capabilitiesof those electronic screens are largely underused. Indeed, these devicescommonly display still pictures or slideshows whereas they have powerfulgraphical and computational capabilities that could be used to enrichthe media playback experience. Thus, while technology has evolved fromblack and white to colour and digital, the photography user experiencehas not really changed. It is still about displaying a still picture.

In an attempt to overcome the aforementioned drawbacks of existing stillpicture display devices, US patent application 2003/0222888 A1 disclosesa method and a device that enable displaying a background image and aforeground object (e.g. a person) in a rest state for some period oftime, some or all of the foreground object being then temporarilyanimated (e.g. the person occasionally winks, smiles or waves). Thedisclosed method requires several operations for segmenting theforeground object from the background. Indeed, a first operation is torecord the background image without the object to be animated (theforeground object) in the scene. Then, the foreground object is recordedwhile in the scene. The foreground object is recorded at rest, whichbecomes the default background image displayed most of the time. Thenthe foreground object is recorded performing some action or actions thatwill be used to occasionally animate the default foreground image.

SUMMARY OF THE INVENTION

According to a first embodiment of the present invention, there isprovided a method for enriching digital photographs, the methodincluding: receiving a digital photograph and video data captured beforea time at which the digital photograph is captured until after saidtime, wherein the video data includes a sequence of video frames;processing the digital photograph and the video frames to layer saiddigital photograph and the video frames into a plurality of layersthereby creating a plurality of video layer sequences; defining an orderof the plurality of layers; generating playback guidance, the playbackguidance defining how to combine the video layer sequences duringplayback; and transmitting the order, the video layer sequences and theplayback guidance to a display device for playback.

Further, in accordance with an embodiment of the present invention, themethod includes receiving audio data captured before a time at which thedigital photograph is captured until after said time, wherein the audiodata includes a plurality of audio samples; processing the audio samplesby decomposing the audio samples into a plurality of audio sourcesthereby creating a plurality of audio source sequences; and wherein theplayback guidance further defines how to combine the audio sourcesequences with the video layer sequences, and transmitting furtherincludes transmitting the audio source sequences to a display device forplayback.

Still further, in accordance with an embodiment of the presentinvention, the method further includes: detecting layers that areoverlaid by other layers in the plurality of layers; detectingtransparent areas in the detected layers, the transparent areascorresponding to zones that are overlaid by other layers; and filling inthe transparent areas.

Additionally, in accordance with an embodiment of the present invention,the processing the digital photographs and the video frames includes:detecting edges of a plurality of zones in the digital photograph andthe video frames; clustering zones of the plurality of zones intoclustered zones; superposing the detected edges and the clustered zones;distorting the clustered zones to match the detected edges therebycreating distorted zones; and layering the digital photograph and thevideo frames into a plurality of layers, each layer including at leastone distorted zone.

Further, in accordance with an embodiment of the present invention, thedefining an order of the plurality of layers includes: receivingmetadata related to the digital photograph; retrieving a depth value ofa layer using the metadata, the depth value indicating a depth of afocussed layer in the digital photograph; and estimating an order ofother layers by measuring a degree of focus of layers not focussed inthe digital photograph.

Still further, in accordance with an embodiment of the presentinvention, the defining an order of the plurality of layers includes:receiving metadata related to the digital photograph; retrieving a depthvalue of a layer using the metadata, the depth value indicating a depthof a focussed layer in the digital photograph; and estimating depthvalues of other layers by calculating a size of circle of confusion oflayers not focussed in the digital photograph.

Additionally, in accordance with an embodiment of the present invention,the defining an order of the plurality of layers includes retrievingdepth values of each layer by calculating a relative displacement of thedigital photograph and the video frames with movements of a capturedevice.

Further, in accordance with an embodiment of the present invention, thedecomposing the audio samples includes using stereo source decompositionto compare different audio samples.

Still further, in accordance with an embodiment of the presentinvention, the decomposing further includes using an audio goniometricspace-transform of said audio samples.

Additionally, in accordance with an embodiment of the present invention,the generating playback guidance includes defining at least one playbackscenario for each of the video layer sequences wherein a playbackscenario defines how to playback a video layer sequence.

Further, in accordance with an embodiment of the present invention, theplayback scenario includes playing back the video layer sequences for anindefinite duration.

Still further, in accordance with an embodiment of the presentinvention, the playback scenario includes switching from playing forwardto playing backward when an end of a video layer sequence is reached.

Additionally, in accordance with an embodiment of the present invention,the playback scenario includes switching from playing backward toplaying forward when a beginning of a video layer sequence is reached.

Further, in accordance with an embodiment of the present invention, theplayback scenario includes switching from playing forward to playingbackward and vice versa when a random point of a video layer sequence isreached.

Still further, in accordance with an embodiment of the presentinvention, the generating playback guidance further includes: definingat least one rendering effect wherein a rendering effect defines how todisplay video layer sequences on a display device.

Additionally, in accordance with an embodiment of the present invention,the generating playback guidance further includes: defining when toapply a rendering effect according to a defined playback scenario.

Further, in accordance with an embodiment of the present invention, therendering effect includes changing horizontal and vertical positions ofeach layer of said plurality of layers.

Still further, in accordance with an embodiment of the presentinvention, the said rendering effect includes changing depth value ofone or more layers of said plurality of layers.

Additionally, in accordance with an embodiment of the present invention,the rendering effect includes changing zoom value of one or more layersof said plurality of layers.

Further, in accordance with an embodiment of the present invention, thegenerating playback guidance includes defining at least one playbackscenario for each of the audio source sequences.

Still further, in accordance with an embodiment of the presentinvention, the playback scenario includes synchronizing at least oneaudio source sequence with at least one video layer sequence.

Additionally, in accordance with an embodiment of the present invention,the playback scenario includes playing back at least one audio sourcesequence independently from video layer sequences.

According to a second embodiment of the present invention, there is alsoprovided a method for playing back enriched digital photographs, themethod including: receiving an order of a plurality of layers, videolayer sequences and playback guidance according to the first embodimentof the present invention; and playing back the video layer sequencesaccording to the playback guidance on a display device.

Further, in accordance with an embodiment of the present invention, themethod further includes: receiving audio sources sequences and playbackguidance.

Still further, in accordance with an embodiment of the presentinvention, the playing back the video layer sequences includesgenerating at least one random point in the video layer sequences, andswitching from playing forward to playing backward and vice versa when arandom point is reached.

Additionally, in accordance with an embodiment of the present invention,the said playing back the video layer sequences includes generating atleast one random point in the video layer sequences, and overlaying afirst portion of the video layer sequences currently being played with asecond random portion of the video layer sequences when a random pointis reached.

Further, in accordance with an embodiment of the present invention, theplaying back said video layer sequences includes generating at least onerandom point in the video layer sequences, and overlaying a firstportion of the video layer sequences currently being played with asecond portion of the video layer sequences when an end of the videolayer sequences is reached wherein said second portion is played backfrom a random point.

According to a third embodiment of the present invention, there is alsoprovided a method for taking an enriched digital photograph, the methodincluding: automatically start capturing video data with a capturedevice; capturing a digital photograph during the capturing of saidvideo data; and automatically stop capturing said video data.

Further, in accordance with an embodiment of the present invention, theautomatically start capturing video data further includes automaticallystart capturing audio data; and the automatically stop capturing saidvideo data includes automatically stop capturing audio data.

Still further, in accordance with an embodiment of the presentinvention, the method further including: storing the captured audioand/or video data.

Additionally, in accordance with an embodiment of the present invention,the automatically start capturing video data includes automaticallystart capturing video data when movement of the capture device isdetected.

Further, in accordance with an embodiment of the present invention, themovement of the capture device is detected by an accelerometer.

Still further, in accordance with an embodiment of the presentinvention, the automatically start capturing video data includesautomatically start capturing video data when an eye of a user placedagainst a viewfinder of the capture device is detected.

Additionally, in accordance with an embodiment of the present invention,the automatically start capturing video data includes automaticallystart capturing video data when an auto-focusing sharpness value of thecapture device is reached.

Further, in accordance with an embodiment of the present invention, theautomatically start capturing video data includes automatically startcapturing video data when a voice from a user is detected by the capturedevice.

Still further, in accordance with an embodiment of the presentinvention, the automatically stop capturing video data includesautomatically stop capturing video data when a pre-defined sound from auser is detected by the capture device.

Additionally, in accordance with an embodiment of the present invention,the automatically stop capturing video data includes automatically stopcapturing video data when a pre-defined movement of the capture deviceis detected.

There is also provided in accordance with a fourth embodiment of thepresent invention apparatus for taking enriched digital photographs, thedevice including: means for automatically start capturing video datawith a capture device; means for capturing a digital photograph duringsaid capturing of the video data; and means for automatically stopcapturing the video data.

There is also provided in accordance with a fifth embodiment of thepresent invention apparatus for enriching digital photographs, thedevice including: means for receiving a digital photograph and videodata captured before a time at which the digital photograph is captureduntil after said time, wherein the video data includes a sequence ofvideo frames; means for processing the digital photograph and the videoframes to layer the digital photograph and the video frames into aplurality of layers thereby creating a plurality of video layersequences; means for ordering the plurality of layers; means forgenerating playback guidance, the playback guidance defining how tocombine the video layer sequences during playback; and means fortransmitting the order, the video layer sequences and the playbackguidance to a display device for playback.

There is also provided in accordance with a sixth embodiment of thepresent invention apparatus for displaying enriched digital photographs,the device including: means for receiving an order of a plurality oflayers, video layer sequences and playback guidance from an apparatusfrom the fifth embodiment; and means for playing back the video layersequences according to the playback guidance on a display device.

There is also provided in accordance with a seventh embodiment of thepresent invention a device for taking a picture, the device beingcharacterized in that it includes means for automatically starting therecording of audio and/or video data before the picture is taken.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be understood and appreciated more fully fromthe following detailed description, taken in conjunction with thedrawings in which:

FIG. 1 is a simplified graphical illustration showing the comparison inspace and time between photographic media, video media and Phodeo media;

FIG. 2 is a simplified graphical illustration showing captured rawPhodeo data;

FIG. 3 is a simplified graphical illustration showing two dimensional(2D) processed Phodeo data;

FIG. 4 is a simplified pictorial illustration of the layering operationin accordance with an embodiment of the present invention;

FIGS. 5 a, 5 b and 5 c are simplified pictorial illustrations of thelayering operation in accordance with a further embodiment of thepresent invention;

FIGS. 6 a, 6 b and 6 c are simplified pictorial illustrations of thelayering projection operation in accordance with an embodiment of thepresent invention;

FIGS. 7 a, 7 b and 7 c are simplified pictorial illustrations of resultsobtained from the layering operation according to an embodiment of thepresent invention;

FIG. 8 is a simplified pictorial illustration of the ordering and zdepth value calculation operations according to an embodiment of thepresent invention;

FIG. 9 is a simplified pictorial illustration of the inpaintingoperation according to an embodiment of the present invention;

FIGS. 10 a and 10 b are simplified pictorial illustrations of inpaintingoperations for picture restoration;

FIGS. 11 a and 11 b are simplified pictorial illustrations of inpaintingoperations consisting of filling-in transparent areas according to anembodiment of the present invention;

FIGS. 12 a and 12 b are simplified pictorial illustrations of inpaintingoperations consisting of filling-in transparent areas according to afurther embodiment of the present invention;

FIG. 13 is a simplified pictorial illustration of deocclusion,connectivity and inpainting operations according to an embodiment of thepresent invention;

FIG. 14 is a simplified pictorial illustration showing how todynamically change size and position of each layer and point of viewaccording to an embodiment of the present invention;

FIG. 15 is a simplified graphical illustration showing random forwardand backward playback scenario according to an embodiment of the presentinvention;

FIG. 16 a simplified graphical illustration showing random overlayplayback scenario according to a further embodiment of the presentinvention; and

FIGS. 17 a, 17 b and 17 c are simplified graphical illustrations showinghow to change point of view, distance and zoom of the layers accordingto an embodiment of the present invention.

DETAILED DESCRIPTION OF EMBODIMENTS

Nowadays, photos and videos—digital and analogue—are very popularformats of personal media. The goal of these media is to give the userthe opportunity to relive a unique experience by capturing the emotionof a life scene.

The present invention, in embodiments thereof, relates to apparatus andmethods for enriching the picture playback experience while stillallowing a user to capture an instant previously represented by aphotograph, even when it is unexpected.

More and more still picture cameras enable High Definition (HD) movieshooting and each frame of those HD movies have a resolution, whichallows it to be used as a still picture that can be viewed on a digitalscreen. A new format of photography is proposed that breaks the previousconstraints of viewing and printing photographs, namely that photographshave typically been both mute and static. This new format ofphotography, according to embodiments of present invention, typicallyincludes dynamicity to allow a totally different point of view in themedia playback experience. This new format of photography, according toembodiments of the present invention, referred to in the present patentapplication as “Phodeo”, adds motion to previously static photographs togive depth and emotion to the picture while keeping it as the reflectionof an instant, shot by the user in one click on a digital camera, andconsumed on a display device such as a digital picture frame, acomputer, a TV or a mobile handset. In a further embodiment of thepresent invention, this new format of photography adds sound and motionto previously mute and static photographs.

Reference is now made to FIG. 1, which is a simplified graphicalillustration showing the comparison in space and time betweenphotographic media, video media and Phodeo media.

In FIG. 1, a photo is represented as a point (“0D” i.e. zero dimension).It is a fixed point of space (the place where the photo has been taken)at a fixed point in time (the very limited time slice when the camerashutter was opened: 1/500th of second for example). It can even showsomething different from “what you see”: a photo taken at 1/500th ofsecond will freeze the movement that your eye only saw blurred. It is avery good way to understand what happened but not to feel what youlived/experienced.

In FIG. 1, a video is represented as a curve (“1D” i.e. one dimension).It is a path in space (the spatial path you follow during the sequencerecording) along a specific period of time (duration of the recordedsequence). It represents a movement and records a sound. It can be seenas the exact transcription of “what your eyes saw and what your earsheard”. In this sense, a video is a much better way to feel and rememberthe emotion of a moment than a photo. However, the video is no longer aninstant but rather a story telling experience that the user follows fromthe beginning to the end and from the camera operator's point of view.

In FIG. 1, a Phodeo is represented as a surface (“2D” i.e. twodimension). It will be the result of a small amount of space crossbredwith a small amount of time. Inside this time-space singularity, thePhodeo provides, at any time and as long as the user wants, a refreshedexperience of the reflected instant. Playing the Phodeo media allows theuser to see different points of view and it will not look the sametwice.

The present invention, in embodiments thereof, describes how to capturein “one click” (typically with a digital camera) enough and appropriatedata for displaying the Phodeo media. Methods and apparatus forprocessing the captured data are described. Also described are effectsto apply and how to apply those effects to the captured data.

The Phodeo system according to embodiments of the present inventioncomprises three elements:

-   -   a Phodeo capture component: for example, it may be a digital        camera enhanced with Phodeo features that automatically captures        audio and video (AV) data around the instant that a picture was        taken. Typically, these AV data and the picture taken are stored        in a single file (Phodeo raw data file) on the Phodeo capture        device along with additional metadata such as the picture taken,        Exchangeable Image File Format (EXIF) data, capture timeline        data, sensor information etc.;    -   a Phodeo factory module: this is typically a software module        that receives the AV data along with additional metadata from        the Phodeo capture component. The Phodeo factory module mixes        and authors the silent Phodeo captured data according to the        nature of the scene and the set of available motion effects        (such as back and return loop, fading, morphing, random,        parallax motion, focus on different layers, etc.) and sound        effects (such as synchronized, random, mixing, ambient        outsourced) into a Phodeo file. These post-authoring effects are        done according to the specific nature of the captured scene        (e.g. portrait, group, sport, landscape/monument, etc).    -   The Phodeo factory module processes the picture and each frame        of the video data, in order to layer the picture and the frames        of the video data into a plurality of video layers. Typically,        the picture and each video frame are decomposed into three        different layers (fore, mid and background). In another        embodiment of the present invention, the Phodeo factory module        is able to identify a plurality of layers in the video data and        therefore decomposes the picture and each video frame into a        plurality of identified video layers.    -   The Phodeo factory module also processes the audio data, by        decomposing the audio into a plurality of audio sources.    -   Then, video sequences (respectively audio sequences) are created        for each video layer obtained from the layering operation        (respectively for each audio source obtained from the        decomposing operation).    -   Finally, a depth map is generated, the depth map defining the        order of the layers and the distance between each layer. The        output of the Phodeo factory module is a Phodeo file containing:        -   a plurality of video sequences (typically one video sequence            per identified video layer);        -   a plurality of audio sequences (typically one audio sequence            per identified audio source); and        -   an eXtensible Mark-up Language (XML) file containing spatial            information and playback guidance.        -   a Phodeo player device: this component receives the Phodeo            file from the Phodeo factory module. This Phodeo player can            be any type of displaying device comprising video            capabilities. For example, and without limiting the            generality of the invention, the Phodeo player is a digital            picture frame or a computer or a TV or a mobile handset            comprising video capabilities. The Phodeo player plays out            the Phodeo file according to playback guidance (video            scenario, effect and sound mixing scenario). Playing out the            Phodeo file includes:        -   playing out each video sequence according to a defined            scenario;        -   calculating size and position of each layer to create            effects; and        -   playing out each audio sequence according to a sound mixing            scenario.            In a further embodiment of the present invention, the            playback guidance is defined so that the Phodeo file can be            played out according to a plurality of scenarios for the            video sequences, a plurality of effects and a plurality of            sound mixings scenarios for the audio sequences. Thus, the            Phodeo file may be played out for an indefinite duration and            the final rendering is typically not the same twice.

The Phodeo capture is typically done automatically by a Phodeo capturecomponent typically included in digital camera software. For the user,the Phodeo capture is just like taking a photo. The user may haveexplicitly selected a Phodeo shooting mode or set the camera's generalsettings to “always make a Phodeo when taking a photo” combined with aregular photo shooting mode. The camera and its Phodeo capture componentacquire AV data and the picture taken for creating a Phodeo.

When the user takes a photo, the camera typically automatically recordsone or more Phodeo raw data during the framing phase. Those data maycomprise video data (with or without audio) or audio data. The cameracan use the following available information to decide when toautomatically start and/or stop the recording of audio and/or video (AV)data:

-   -   camera position and movement:horizontal and steady and/or        vertical and moving;    -   shutter button:halfway or full pressing;    -   auto-focusing sharpness values for different operations: in        progress, impossible or achieved.

To provide this information, a plurality of sensors and softwarecomponents are able to start and/or stop the capturing of the Phodeo rawdata (i.e. AV data):

-   -   an accelerometer (a camera usually has a horizontal/vertical        detection sensor but an accelerometer is useful);    -   a viewfinder eye detection system (capable of detecting if the        photographer has his eye placed against the viewfinder) can be        used to determine when the photographer begins to frame the        scene and when he ends it; and    -   a voice/sound analyzer component can be used to determine when        to start and/or stop the recording in cases where the        photographer/user is speaking before and/or after the picture is        taken.        For instance, and without limiting the generality of the present        invention, some pre-defined sound received by the voice/sound        analyser from the user may automatically start/stop the        recording of AV data. Similarly, some pre-defined camera        movements may automatically start/stop the recording of the AV        data.

For sake of clarity, the tables below compare a classic photo shootingsequence (Table 1) with an enhanced Phodeo shooting sequence (Table 2).

TABLE 1 Typical photo shooting sequence User action Camera action Theuser turns on the camera Nothing. The user places his eye against theNothing. viewfinder The user frames Auto-focusing system starts. Theuser presses the shutter button Auto-focusing system continues orhalfway starts (if previous step missed). The user presses the shutterbutton Picture is taken and stored. entirely

TABLE 2 Phodeo shooting sequence User action/Camera action Phodeocapture component action The user turns on the camera Nothing. The useraims (places his eye against Audio data recording begins (audio theviewfinder or camera steady & review buffer starts). horizontal) Theuser frames Auto-focusing starts and audio data recording continues (orbegins if previous steps missed). The user presses the shutter buttonAuto-focusing starts/continues and halfway audio data recordingcontinues (or begins if previous steps missed). Auto-focusing isachieved Full video data recording begins (image and audio) (videoreview buffer starts). The user presses the shutter button Picture istaken and stored. While entirely the camera takes the picture, thePhodeo capture component continues to record video data. The userreleases the shutter button Video data recording continues. The userpulls the camera down to Video data recording stops. Audio look at thepicture on the back screen data recording continues. The user begins tocomment the Audio data recording stops. photo, show it to other people,. . . All the AV data (called “Phodeo raw data”), the full resolutionphoto and all additional useful information (e.g. EXIF data, capturetimeline data, sensor information) are assembled in a “Phodeo raw data”file that is written on the camera storage area (flash memory card orother).

In a case where no picture is taken, the Phodeo capture componenttypically erases both the video and audio review buffers. The samereview buffer can be truncated by the Phodeo capture component if thereis too much time:

-   -   between framing and shooting; and/or    -   between shooting and pulling-down the camera.

A Phodeo raw data file typically contains:

-   -   the “Phodeo raw data” (AV data);    -   the full resolution picture in an image format like JPEG (Joint        Photographics Experts Group) or TIFF (Tagged Image File Format);    -   useful information about the shooting sequence and the data        (EXIF data, capture timeline data, sensor information, etc.;        This Phodeo raw data file is typically independent of the native        media created by the camera, which is usually a full resolution        photo in JPEG or RAW (raw image file) format.

To be Phodeo capable, a digital camera comprises at least:

-   -   Phodeo capture component software;    -   video data capture capabilities: the camera is typically able to        capture video data (typically High-Definition (HD) video data of        at least: 1280×720 pixels resolution, at 25 or 30 frames per        seconds); and    -   audio data capture capabilities (typically a built-in        microphone). The digital camera is also able to take a full        resolution photo while recording video data.        In an embodiment of the present invention, the digital camera        comprises High-Definition (HD) video data capabilities. The        digital camera is then able to capture standard HD video data.

The Phodeo capture component outputs a Phodeo raw data file that is thentransmitted to the Phodeo factory module. As explained above, this filecontains:

-   -   the Phodeo raw data (AV data);    -   the full resolution picture in an image format like JPEG or        TIFF;    -   all additional useful information about the shooting sequence        and the data (e.g. EXIF data, capture timeline data, sensor        information, etc.).

Reference is now made to FIG. 2, which is a simplified graphicalillustration showing captured raw Phodeo data. As explained previously,a video is a path in space along a specific period of time. Similarly,Phodeo raw data are short AV sequences (small length of the AV datacaptured) centered on a specific instant. In this sense, the Phodeo rawdata gives 1D temporal thickness (Δt) to a classic 0D picture. An aim ofthe Phodeo factory module is to bring a further spatial dimension totransform the Phodeo raw data into two-dimensional (2D) processed Phodeodata, as illustrated in FIG. 3, which is a simplified graphicalillustration showing two-dimensional (2D) processed Phodeo data. Toillustrate this approach, the outputs of the Phodeo factory module canbe considered as 2D Phodeo data that has both temporal and spatialthickness (Δt, Δxyz).

To provide spatial thickness, a layered approach for both audio andvideo is considered. This approach is a simplification of the realspatial nature of the captured data.

Reference is now made to FIG. 4, which is a simplified pictorialillustration of the layering operation in accordance with an embodimentof the present invention. FIG. 4 illustrates the principle of thelayering approach simplification at a given instant of the Phodeo rawdata. The motivation for dealing with a layered description of the sceneis to consider the face-tree-sun description as a very good (typicallythe best) approximation of the 3D scene represented on the left of FIG.4, considering the 2D flat AV data received as input by the Phodeofactory module. As a consequence, the Phodeo factory module isresponsible for building the spatial layering of the Phodeo raw data:

-   -   for video, layering is performed for each successive frame        contained in the input video data; and    -   for audio, layering is performed for the audio stereo sample        contained in the input audio data.        The layering approximation works with discrete image area and/or        audio pattern. This approach introduces the video/image        segmentation and stereo audio source decomposition.

The Phodeo factory module processes the picture and each frame of thevideo data, in order to layer the picture and the frames of the videodata into a plurality of video layers. The image (picture and videoframe) segmentation is achieved by the Phodeo factory module in threesteps:

-   -   edge detection;    -   zone clustering; and    -   layer projection.

Reference is now made to FIG. 5A to 5C, which are simplified pictorialillustrations of the layering operation in accordance with a furtherembodiment of the present invention. To illustrate the image layeringprocess, the example of FIG. 5 a is taken, with an arbitrary objectiveof a three layer spatial decomposition.

The first step is enhanced edge detection. In an embodiment of thepresent invention, the Canny edge detection method is applied (seehttp://en.wikipedia.org/wiki/Canny_edge_detector) although other methodsof edge detection will be apparent to someone skilled in the art. Fromthe binary edge map, the Phodeo factory module uses a multi-stagealgorithm to detect a wide range of edges in images. This operationhelps to reduce the number of zones detected in images. FIG. 5 billustrates the result of the edge detection obtained using the Cannyedge detection method.

The second step is zone clustering. In an embodiment of the presentinvention, the K-means clustering algorithm (seehttp://en.wikipedia.org/wiki/K-means_(—)clustering) is applied using amixed colour and intensity distance function although other clusteringalgorithms will be apparent to someone skilled in the art. In imageanalysis, the K-means algorithm is used to partition an image into Kclustered zones. FIG. 5 c illustrates the result of the pixel clusteringmethod with the number of zones as a constraint that stops the iterativeclustering operation once the desired number of zones has been found. Itwill be appreciated by those skilled in the art that background zonesconsist of multiple non-connected sub-zones, while the K-meansclustering algorithm ended with every sub-zone as a zone. The Phodeofactory module applies a non-local similarity algorithm based on a mixedcolour and intensity distance during the iterative clustering operationto aggregate zones of a similar colour.

The third step is layer projection. Reference is now made to FIGS. 6 ato 6 c, which are simplified pictorial illustrations of the layeringprojection operation in accordance with an embodiment of the presentinvention. The edge map obtained from the first step (edge detection)and the clustered map obtained from the second step (zone clustering)are superposed as shown in FIG. 6 a so that clustered zone boundariesmatch the edges. As the two maps come from different steps, localdistortions of the clustered zone are allowed to match the fixed edgemap (as a reference boundary map). In an embodiment of the presentinvention, the method to perform the superposition is local homothetictransformation that minimizes the mean square distance between zoneboundaries and edges. FIG. 6 b illustrates how the previously clusteredzones have been distorted to match the white edge boundary. The edgewhite thickness in the middle that separates clustered zones is thenturned into a linear progressive border between zones, as illustrated byFIG. 6 c.

Reference is now made to FIGS. 7 a to 7 c, which are simplifiedpictorial illustrations of results obtained from the layering operationaccording to an embodiment of the present invention. According to thetransformed map illustrated by FIG. 6 c, the original input image isthen progressively decomposed into three images (one image per layer).Each layer contains clustered zones whose alpha channel valuescorrespond to the colour intensity retrieved from the last transformedmap as shown in FIG. 6 c. This image segmentation is done successivelyfor every image part of the input video data. As a final result of imagedecomposition, the output of the image segmentation operation isillustrated by FIGS. 7 a, 7 b and 7 c, where black zones are transparentzones i.e. alpha channel values set to zero. At the end of this videodata processing operation, a video sequence is therefore created foreach video layer.

The Phodeo factory module also processes the audio data by decomposingaudio data into a plurality of audio sources. The same segmentation isthen applied to the audio data. Using stereo source decompositiontechniques, the audio data comprising a plurality of audio samples arecompared to detect different audio sources. In an embodiment of thepresent invention, audio goniometric space-transform of the audiosamples is applied to achieve this segmentation. The expected output ismultichannel audio samples. At the end of this audio data processingoperation, an audio sequence is therefore created for each audio source.

The Phodeo factory module then generates a depth map, the depth mapdefining the order of the layers, the distance between each layer,and/or the distance between each layer and the Phodeo capture component.As the Phodeo raw data can be considered as video data, the depth map iscomputed for any layer of any image/frame contained in the video data.The Phodeo factory module assumes that the depth of a given video layeris the same across the video data. Indeed, this approximation isappropriate given the fact that a Phodeo represents a small amount oftime (Δt). Then, from the previous layering stage, the Phodeo factorymodule computes an estimation of the depth value (z) for each layerobtained previously (e.g. z depth value for background, mid andforeground). This z depth value of a layer represents the distanceseparating the layer from the Phodeo capture component at the instant ofwhich the picture was taken.

Depending on the availability of EXIF values from the Phodeo raw datafile, two options are considered:

-   -   EXIF & layer-ordering depth map option: computation based on        existing EXIF data and estimation using degree of focus of the        segmented region; and    -   improved depth map option: computation using precise camera        operation parameters on the short video data.

In an embodiment of the present invention, the depth map is definedusing EXIF data. EXIF data contains relevant information that can beused for the Phodeo raw data in order to retrieve the depth of a givenlayer in the image. For instance, the Phodeo raw video data contains atleast a specific instant shot picture that is a full format picture withoptional EXIF data. From EXIF 2.2 specification, if provided in thePhodeo raw data file, the following tags are used:

{   SubjectDistance tag.ref.37382 (9206.H)   OR   SubjectDistanceRangetag.ref.41996 (A40C.H)   }   AND   {   SubjectArea   tag.ref.37396(9214.H)   OR   SubjectLocation   tag.ref.41492 (A214.H) }

The following definitions (taken from Standard of Japan Electronics andInformation Technologies Industries Association; Exchangeable image fileformat for digital still cameras: Exif version 2.2, JEITA CP-3451, April2002) will aid understanding of embodiments of the present invention.

SubjectDistance: this tag indicates the distance to the subject, givenin meters;

SubjectDistanceRange: this tag represents the distance range to thesubject;

SubjectArea: this tag indicates the location and area of the mainsubject in the overall scene; and

SubjectLocation: this tag indicates the location of the main subject inthe scene. It is a vector that points to the subject relative within thepicture. The value of this tag represents the pixel at the centre of themain subject relative to the left edge, prior to rotation processing asper the Rotation tag. As explained in the above definition, the area orlocation is used to identify the location and area of the main subjectin the overall scene. Given the layering stage, the main subject refersto a specific layer for which the z depth value is given by the subjectdistance or subject distance range. In other words, EXIF data are usedto retrieve the z depth value of the layer that was focussed (mainsubject) at the instant of which the picture was taken. Then, the Phodeofactory module computes an estimate of the z depth value for the otherlayers i.e. layers that were not focussed, by measuring the degree offocus (image blurriness) of other parts of the picture and/or frames ofthe video data.

In an embodiment of the present invention, the Phodeo factory modulecalculates the circle of confusion for parts of the picture that are notfocussed in order to retrieve z depth values and ordering of the otherlayers. Using the available EXIF data, it can be assumed that thesubject zone was at a depth of field at a known distance from the Phodeocapture component. The Phodeo factory module then applies a derivativeSobel filter (see http://en.wikipedia.org/wiki/Sobel_operator) tomaximize sharpness so that the size of this derivative Sobel filtercorresponds to the negative pattern of the circle. Using the followingformula:

$c = \frac{f\; A}{S}$

where c is the estimated size of the circle of confusion (or thicknessof Sobel derivative filter), where f is the focal length of a Phodeocapture device and where A is the aperture of a Phodeo capture device.Those skilled in the art will appreciate that A and f can be providedfrom the EXIF data:

ApertureValue tag.ref.37378 (9202.H) FocalLength tag.ref. 37386.(920A.H)

It can be roughly considered that the larger the circle of confusion,the farther is the considered part of the image from the Phodeo capturecomponent at the specific instant at which the picture was taken. Whileit could be interesting to get the real z value using such method, anestimation of the degree of focus for a specific zone provides basiclayer-ordering information that is enough to get a good modelling of thereal 3D scene, given the approximation taken (layering and fixed depth).Those skilled in the art will appreciate that several well-knowntechniques such as occultation, texture gradient etc. may be used toorder the different layers.

In a further embodiment of the present invention, the depth map isdefined using camera parameters related to the video data. A moreadvanced method for getting the depth map may be the use of relativedisplacement of points of interest along the Phodeo raw video datacorrelated with available precise camera operation movement across time.

Those skilled in the art will appreciate that these different methodswhich are, for clarity, described in contexts of separate embodimentsmay also be provided in combination in a single embodiment or in anysuitable subcombination.

Reference is now made to FIG. 8, which is a simplified pictorialillustration of the ordering and z depth value calculation operationsaccording to an embodiment of the present invention. The depth map stageresults in obtaining the z depth values for the different layers whichare assumed to be same across the video data. Given the illustration ofFIG. 8, the depth map stage outputs a fixed ordering of the layers. Thegoal of this depth map stage is to retrieve at least the z depth valueof the foreground layer which corresponds to the distance to mainsubject in the overall scene (when the degree of focus and the cameramovement options both failed).

Reference is now made to FIG. 9, which is a simplified pictorialillustration of the inpainting operation according to an embodiment ofthe present invention. Once the layering and ordering processes areachieved, the Phodeo factory module has a set of layers ordered by zvalues. One issue is to avoid subsequent parallax effects when layersare superposed at different positions. FIG. 9 illustrates thatinpainting may be performed for the bottom layer in order to avoid thehashed transparent area in the final right-hand layer-composition due toparallax. The Phodeo factory module typically detects layers that areoverlaid by other layers. These overlaid zones are typically transparentareas that may be inpainted. The last step is to reconstruct harmoniouspatterns/colors by filling in these transparent areas.

Inpainting is about creating harmonious patterns in place of missingparts of the picture. Inpainting is commonly used for picturerestoration as illustrated by FIGS. 10 a and 10 b. However, the Phodeoinpainting is not targeting image restoration. Here, the purpose of theinpainting is to fill-in transparent areas, as illustrated by FIG. 11 aand 11 b. FIG. 11 a shows an image masked by black rectangulartransparent areas whereas FIG. 11 b shows the same image after theinpainting process: transparent areas have been reconstructed accordingto left image pattern. One inpainting method consists of propagating thesurrounding colours using an inpainted Laplacian field in transparentareas with a limit condition from the boundary of the original image, byusing the following Laplace operator:

div∇u=Δu=0.

(see http://en.wikipedia.org/wiki/Laplace_operator). Other methods ofinpainting will be apparent to those skilled in the art. The backgroundlayer is inpainted because the final layer-composition cannot displayany transparent area. For instance, FIG. 12 a illustrates the sameoriginal background layer as the previous FIG. 7 a. FIG. 12 billustrates the results of inpainting operations in accordance with anembodiment of the present invention.

By design, the foreground layer is not inpainted, but mid layers may belocally inpainted. The local convexity of layers is a good hint tolocate which parts of mid layers may be locally inpainted. This isrelated to de-occlusion techniques. Determining the zones on whichintermediate deocclusion may be applied is a complex problem.

Reference is now made to FIG. 13, which is a simplified pictorialillustration of deocclusion, connectivity and inpainting operationsaccording to an embodiment of the present invention. FIG. 13 illustratesthe case where occlusion, connectivity and inpainting may solve theproblem. A deocclusion technique is applied to a surface overlaid by anupper layer. Typically, in FIG. 13 the mid layer is partially overlaidby the fore layer. The technique detects the bordering pixels that areshared by the fore and the mid layers e.g. the left part of the tree,and then determines the zone in the mid layer that may be inpainted. Todetermine the mid layer zone that may be inpainted, different techniquescan be used. For example, and without limiting the generality of theinvention, normalizing the radius of curvature can be applied on thebordering pixels that are shared with the upper layer e.g. the dottedzone identified in the mid layer. The normalization of the radius ofcurvature could be done using:

-   -   maximization of the absolute radius of curvature of the mid        layer bordering pixels e.g. cannot be inferior/superior to a        given negative/positive value (clearing picks & holes); or    -   integrating the radius of curvature between the extreme pixels        of the mid layer bordering pixels shared with the fore layer        (smoothing the average curve).

The output of the Phodeo factory module is a Phodeo file containing:

-   -   a plurality of video sequences (typically one video sequence per        identified video layer);    -   a plurality of audio sequences (typically one audio sequence per        identified audio source); and    -   an eXtensible Mark-up Language (XML) file containing:        -   spatial information; and        -   playback guidance for the Phodeo player device.            An exemplary output of a Phodeo factory is given below:

  <?xml version=″1.0″ encoding=″iso-8859-1″?>   <phodeo type=″loop″>   <ref_image id=″1″/>    <layers>      <layer id=″foreground″ z=″1.5″>       <sequences>          <sequence fps=″12″ scenario_id=″1″ >           <ref_image id=″1″/>            <ref_image id=″2″/>           <ref_image id=″3″/>            <ref_image id=″4″/>           <ref_image id=″5″/>          </sequence>        </sequences>     </layer>      <layer id=”mezzanine” z=”2”>        <sequences>         <sequence fps=″12″ scenario_id=″1″>            <ref_imageid=″6″/>            <ref_image id=″7″/>            <ref_image id=″8″/>           <ref_image id=″9″/>            <ref_image id=″10″/>         </sequence>        </sequences>      </layer>      <layerid=”background” z=”7”>        <sequences>          <sequence fps=″12″scenario_id=″2″ >            <ref_image id=″11″/>            <ref_imageid=″12″/>            <ref_image id=″13″/>            <ref_imageid=″14″/>            <ref_image id=″15″/>          </sequence>       </sequences>      </layer>   </layers>   <tracks>    <trackscenario_id=”2”>      <ref_audio id=”1”/>    </track>    <trackscenario_id=”3”>      <ref_audio id=”2”/>    </track>   </tracks>  <images>      <image name=″image-00001.jpg″ id=″1″/>      <imagename=″image-00002.jpg″ id=″2″/>      <image name=″image-00003.jpg″id=″3″/>      <image name=″image-00004.jpg″ id=″4″/>      <imagename=″image-00005.jpg″ id=″5″/>      <image name=″image-00006.jpg″id=″6″/>      <image name=″image-00007.jpg″ id=″7″/>      <imagename=″image-00008.jpg″ id=″8″/>      <image name=″image-00009.jpg″id=″9″/>      <image name=″image-00010.jpg″ id=″10″/>      <imagename=″image-00011.jpg″ id=″11″/>      <image name=″image-00012.jpg″id=″12″/>      <image name=″image-00013.jpg″ id=″13″/>      <imagename=″image-00014.jpg″ id=″14″/>      <image name=″image-00015.jpg″id=″15″/>    </images>    <audios>      <audioname=”audio-capture-001.mp3” id=”1”/>      <audio name=”piste1-cd3.mp3”id=”2”/>    </audios>    <scenarios>      <scenariotype=”forward_backward” id=”1”>      <scenario =”random_overlay” id=”2”>     <scenario type=”loop” id=”3”>    </scenarios>    <effecttype=”random”>      <alpha min=”−10” max=”10” speed=”0.2”>     <distance min=”100” max=”110″ speed=”2”>    </effects> </phodeo>

The Phodeo Player device is a component which receives a Phodeo file asinput from the Phodeo factory module and renders the Phodeo dynamicallyin a graphic memory for displaying it on a screen. To do so, the Phodeoplayer device processes the following tasks in parallel:

-   -   playing back each video sequence according to a scenario defined        in the playback guidance;    -   combining the sequences by calculating size and position of each        layer and overlaying them for dynamically changing the view        point according to the effect defined in the playback guidance,        as illustrated by FIG. 14;    -   playing back each audio sequence according to a sound mixing        scenario defined in the playback guidance.

A scenario defines how to playback a video sequence and each videosequence has a particular dedicated scenario defined in the playbackguidance for playback. Typical scenarios include the following:

-   -   random forward and backward; and/or    -   random mixing.

In an embodiment of the present invention, a video sequence is playedback on the Phodeo player device according to the random forward andbackward scenario. As illustrated on FIG. 15, random forward andbackward playback scenario includes playing forward the video sequenceto a random point, then playing backward to a new random point, and thenrepeat these steps with different random points each time, said randompoints being generated randomly by the Phodeo display device. If the endof the sequence is reached by playing forward, then it automaticallyswitches to playing backward and symmetrically, if the beginning of thesequence is reached by playing backward, then it automatically switchesto playing forward. This scenario is suited to contexts where there isno specific direction in the movements. This scenario is typically welladapted for portraits.

In another embodiment of the present invention, a video sequence isplayed back on the Phodeo player device according to the random overlayscenario. As illustrated on FIG. 16, random overlay playback scenarioincludes playing random pieces of a video sequence. Typically, a firstportion of a video sequence is played back and then, a second randomportion of the video sequence is played back with an overlay during thetransition between the two portions. If the end of a video sequence isabout to be reached then it is anticipated in order to start a nextportion of the video sequence with enough overlay so that the previousportion of the video sequence does not reach the end of the videosequence. This scenario is suited to contexts where there are somemovements in some specific directions, like snowing, waves or cars.

Those skilled in the art will appreciate that these various scenarioswhich are, for clarity, described in contexts of separate embodimentsmay also be provided in combination in a single embodiment or in anysuitable subcombination.

A rendering effect describes how to change the view point whilerendering the Phodeo. The rendering effect is typically a dynamic changeof all or some parts of:

-   -   a point of view defined by two angles from x and y axis, as        illustrated by FIG. 17 a. Typically, horizontal and vertical        positions of each layer are changed/translated so that the final        rendering looks like a change of point of view. To do so, it is        to be noted that the translation applied to the background layer        is more important than the one applied on the fore layer;    -   a distance from the layers for varying perspective, as        illustrated by FIG. 17 b. To do so, the depth values (and hence        the distance between layers) are changed; and    -   a zoom in the layers for varying angle of view, as illustrated        by FIG. 17 c. To do so, it is to be noted that the zoom        values/coefficients that are to be applied to the layers are        different depending on the position of each layer. For instance,        the zoom coefficient of the foreground layer is greater than the        zoom coefficient of the background layer.        In an embodiment of the present invention, definition of the        effect is controlled by the Phodeo player device on the basis of        a few parameters by criteria like moving randomly along        horizontal axis at a given speed and between specific angles        where axis, speed and angles are defined in the playback        guidance. In a further embodiment of the present invention,        definition of the effect is defined as a story in the playback        guidance, following a scenario as defined for the video        sequences. This enables implementation of a lot of different        effects.

An example of these effects that can be applied during playback is theDolly Zoom effect (also known as the “Vertigo”effect—http://en.wikipedia.org/wiki/Dolly_zoom). This effect is obtainedby combining zoom and distance in opposite ways.

If the object targeted by the Phodeo capture device is animated by atranslation, like a bicycle or a bird flying, the expected Phodeo is theobject in the centre and the background unrolling behind. In such acase, angles and distances are adapted to see the object in theforeground at the centre of the scene. This effect includes moving quitequickly between two positions of viewing that corresponds to thetheoretical positions of the two eyes in order to create an illusion of3D.

Each audio sequence is independent or synchronized with a videosequence. If it is synchronized with a video sequence, then it followsthe scenario defined for the video sequence. Typically, if people aretalking and laughing, sounds of laughing and talking remainssynchronized along the different pieces of the video sequence playedback with a random mixing scenario. If it is independent, then it can beplayed back:

-   -   with its own random mixing scenario: playing back random pieces        of the audio sequence with overlay between pieces, typically for        rendering a specific ambiance; or    -   in loop, typically for playing back music.

The Phodeo player device plays back the Phodeo file received from thePhodeo factory module according to the playback guidance in which:

-   -   each video sequence is played back according to a defined        scenario;    -   each audio sequence is played back according to a defined sound        mixing scenario; and    -   some effects are applied on the AV sequences.

In a further embodiment of the present invention, the playback guidanceis defined so that the Phodeo file can be played out according to aplurality of scenarios for the video sequences, a plurality of effectsand a plurality of sound mixing scenarios for the audio sequences. ThePhodeo file can therefore be played out for a long time and the finalrendering is not the same twice.

Although the above embodiments have been described as being carried outon the Phodeo capture device side and/or on the Phodeo factory deviceside and/or the Phodeo player device side, someone skilled in the artwill appreciate that various features of the invention may beimplemented in intermediate components and/or may be deported from aPhodeo device to another Phodeo device.

It is appreciated that various features of the invention which are, forclarity, described in the contexts of separate embodiments may also beprovided in combination in a single embodiment. Conversely, variousfeatures of the invention which are, for brevity, described in thecontext of a single embodiment may also be provided separately or in anysuitable subcombination.

It will be appreciated by persons skilled in the art that the presentinvention is not limited to what has been particularly shown anddescribed hereinabove. Rather the scope of the invention is defined bythe appended claims and equivalents thereof.

1. A method for enriching digital photographs, said method comprising:receiving a digital photograph and audio video data captured before atime at which said digital photograph is captured until after said time,wherein said audio video data comprises video frames and audio samples;processing said digital photograph and said video frames to spatiallydecompose said digital photograph and said video frames into a pluralityof layers; processing said audio samples to decompose said audio samplesinto a plurality of audio sources; creating a plurality of video layersequences, wherein each video layer sequence of said plurality of videolayer sequences comprises said processed digital photograph and videoframes of a same layer; creating a plurality of audio source sequences,wherein each audio source sequence of said plurality of audio sourcesequences comprises said processed audio samples of a same source;defining an order of said plurality of layers; generating playbackguidance, said playback guidance defining how to combine said videolayer sequences during playback and how to combine said audio sourcesequences with said video layer sequences; and transmitting said order,said video layer sequences, said audio source sequences and saidplayback guidance to a display device for playback.
 2. (canceled)
 3. Amethod according to claim 1, said method further comprising: detectinglayers that are overlaid by other layers in said plurality of layers;detecting transparent areas in said detected layers, said transparentareas corresponding to zones that are overlaid by other layers; andfilling in said transparent areas.
 4. A method according to claim 1,wherein said processing said digital photograph and said video framescomprises: detecting edges of a plurality of zones in said digitalphotograph and said video frames; clustering zones of said plurality ofzones into clustered zones; superposing said detected edges and saidclustered zones; distorting said clustered zones to match said detectededges thereby creating distorted zones; and decomposing spatially saiddigital photograph and said video frames into a plurality of layers,each layer comprising at least one distorted zone.
 5. A method accordingto claim 1, wherein said defining an order of said plurality of layerscomprises: receiving metadata related to said digital photograph;retrieving a depth value of a layer using said metadata, said depthvalue indicating a depth of a focussed layer in said digital photograph;and estimating an order of other layers by measuring a degree of focusof layers not focussed in said digital photograph.
 6. A method accordingto claim 1, wherein said defining an order of said plurality of layerscomprises: receiving metadata related to said digital photograph;retrieving a depth value of a layer using said metadata, said depthvalue indicating a depth of a focussed layer in said digital photograph;and estimating depth values of other layers by calculating a size ofcircle of confusion of layers not focussed in said digital photograph.7. A method according to claim 1, wherein said defining an order of saidplurality of layers comprises retrieving depth values of each layer bycalculating a relative displacement of said digital photograph and saidvideo frames with movements of a capture device.
 8. A method accordingto claim 1, wherein said decomposing said audio samples comprises usingstereo source decomposition to compare different audio samples anddecompose said audio samples into a plurality of audio sources.
 9. Amethod according to claim 8, wherein said decomposing further comprisesusing an audio goniometric space-transform of said audio samples.
 10. Amethod according to claim 1, wherein said generating playback guidancecomprises: defining at least one playback scenario for each of saidvideo layer sequences wherein a playback scenario defines how toplayback a video layer sequence.
 11. A method according to claim 10,wherein said playback scenario comprises playing back said video layersequences for an indefinite duration.
 12. A method according to claim10, wherein said playback scenario comprises switching from playingforward to playing backward when an end of a video layer sequence isreached.
 13. A method according to claim 10, wherein said playbackscenario comprises switching from playing backward to playing forwardwhen a beginning of a video layer sequence is reached.
 14. A methodaccording to claim 10, wherein said playback scenario comprisesswitching from playing forward to playing backward and vice versa when arandomly generated point of a video layer sequence is reached.
 15. Amethod according to claim 1, wherein said generating playback guidancefurther comprises: defining at least one rendering effect wherein arendering effect defines how to display video layer sequences on adisplay device.
 16. A method according to claim 1, wherein saidgenerating playback guidance further comprises: defining when to apply arendering effect according to playback scenarios defined for said videolayer sequences.
 17. A method according to claim 16, wherein saidrendering effect comprises changing horizontal and vertical positions ofeach layer of said plurality of layers.
 18. A method according to claim16, wherein said rendering effect comprises changing depth value of oneor more layers of said plurality of layers.
 19. A method according toclaim 16, wherein said rendering effect comprises changing zoom value ofone or more layers of said plurality of layers.
 20. A method accordingto claim 1, wherein said generating playback guidance comprises definingat least one playback scenario for each of said audio source sequences.21. A method according to claim 20, wherein said playback scenariocomprises playing back at least one audio source sequence synchronizedwith at least one video layer sequence.
 22. A method according to claim20, wherein said playback scenario comprises playing back at least oneaudio source sequence independently from video layer sequences.
 23. Amethod for playing back enriched digital photographs, said methodcomprising: receiving an order of a plurality of layers, video layersequences, audio sources sequences and playback guidance according tothe method of claim 1; and playing back said video layer sequencesaccording to said playback guidance on a display device.
 24. (canceled)25. A method according to claim 23, wherein said playing back said videolayer sequences comprises generating at least one random point in saidvideo layer sequences, and switching from playing forward to playingbackward and vice versa when a random point is reached.
 26. A methodaccording to claim 23, wherein said playing back said video layersequences comprises generating at least one random point in said videolayer sequences, and overlaying a first portion of said video layersequences currently being played with a second random portion of saidvideo layer sequences when a random point is reached.
 27. A methodaccording to claim 23, wherein said playing back said video layersequences comprises generating at least one random point in said videolayer sequences, and overlaying a first portion of said video layersequences currently being played with a second portion of said videolayer sequences when an end of said video layer sequences is reachedwherein said second portion is played back from a random point.
 28. Amethod for taking an enriched digital photograph, said methodcomprising: automatically start capturing audio video data with acapture device; capturing a digital photograph during said capturing ofsaid audio video data; and automatically stop capturing said audio videodata.
 29. (canceled)
 30. A method according to claim 28, said methodfurther comprising: storing said captured audio video data.
 31. A methodaccording to claim 28, wherein said automatically start capturing audiovideo data comprises automatically start capturing audio video data whenmovement of said capture device is detected.
 32. A method according toclaim 31, wherein movement of said capture device is detected by anaccelerometer.
 33. A method according to claim 28, wherein saidautomatically start capturing audio video data comprises automaticallystart capturing audio video data when an eye of a user placed against aviewfinder of said capture device is detected.
 34. A method according toclaim 28, wherein said automatically start capturing audio video datacomprises automatically start capturing audio video data when anauto-focusing sharpness value of said capture device is reached.
 35. Amethod according to claim 28, wherein said automatically start capturingaudio video data comprises automatically start capturing audio videodata when a voice from a user is detected by said capture device.
 36. Amethod according to claim 28, wherein said automatically stop capturingaudio video data comprises automatically stop capturing audio video datawhen a pre-defined sound from a user is detected by said capture device.37. A method according to claim 28, wherein said automatically stopcapturing audio video data comprises automatically stop capturing audiovideo data when a pre-defined movement of said capture device isdetected.
 38. Apparatus for taking enriched digital photographs, saiddevice comprising: means for automatically start capturing audio videodata with a capture device; means for capturing a digital photographduring said capturing of said audio video data; and means forautomatically stop capturing said audio video data.
 39. Apparatus forenriching digital photographs, said device comprising: means forreceiving a digital photograph and audio video data captured before atime at which said digital photograph is captured until after said time,wherein said audio video data comprises video frames and audio samples;means for processing said digital photograph and said video frames tospatially decompose said digital photograph and said video frames into aplurality of layers; means for processing said audio samples todecompose said audio samples into a plurality of audio sources; meansfor creating a plurality of video layer sequences, wherein each videolayer sequence of said plurality of video layer sequences comprises saidprocessed digital photograph and video frames of a same layer; means forcreating a plurality of audio source sequences, wherein each audiosource sequence of said plurality of audio source sequences comprisessaid processed audio samples of a same source; means for ordering saidplurality of layers; means for generating playback guidance, saidplayback guidance defining how to combine said video layer sequencesduring playback and how to combine said audio source sequences with saidvideo layer sequences; and means for transmitting said order, said videolayer sequences, said audio source sequences and said playback guidanceto a display device for playback.
 40. Apparatus for displaying enricheddigital photographs, said device comprising: means for receiving anorder of a plurality of layers, video layer sequences, audio sourcesequences and playback guidance generated by a method according to claim31; and means for playing back said video layer sequences and said audiosource sequences according to said playback guidance on a displaydevice.
 41. A device for taking a picture, the device beingcharacterized in that it comprises a capture component thatautomatically starts capturing audio video data before the picture istaken.
 42. A tangible carrier medium carrying computer readable code forcontrolling a suitable computer to carry out the method of claim
 1. 43.A tangible carrier medium carrying computer readable code forconfiguring a suitable computer as the apparatus of claim 39.